package com.anpy.bill.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @Author : anpengyu
 * @create 2024/8/6 14:19
 */
@Data
@Builder
@Entity
@AllArgsConstructor
@TableName(value = "T_PAY_TYPE")
public class PayTypeEntity {

    @Id
    private Long id;
    private String name;
    @TableField(value = "user_id")
    private Long userId;
    private String account;
    private String phone;

    public PayTypeEntity() {

    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
}
